package com.groupbuying.settleproducer.domain;

import java.io.Serializable;
import java.util.Date;

import java.math.BigDecimal;


/**
 * 退款表()
 * 
 * @author cuich
 * @email cuichanghao@linku.com.cn
 * @date 2019-06-04 08:10:27
 * @des
 */
public class SettleRefundDO implements Serializable {
	private static final long serialVersionUID = 1L;
	

	/**
	 * 退款id
	 */
	private String refundId;

	/**
	 * 第三方交易支付单号
	 */
	private String outTradeNo;

	/**
	 * 支付渠道:原生-OR-NATIVE，银盛-YS-YINSHENG，自己平台-SELF-PLATFORM
	 */
	private String payChannel;

	/**
	 * 分账总金额
	 */
	private BigDecimal refundAmount;

	/**
	 * 分账规则
	 */
	private String refundRule;

	/**
	 * 退款原因最多五十个汉字
	 */
	private String refundReason;

	/**
	 * 退款状态:退款成功-SUC-0,退款失败-FALL-1
	 */
	private String status;

	/**
	 * 删除标记:未删除-UNDEL-1,删除-DEL-0
	 */
	private String isDelete;

	/**
	 * 创建时间
	 */
	private Date gmtCreate;

	/**
	 * 更新时间
	 */
	private Date gmtModified;

	/**
	 * 设置：退款id
	 */
	public void setRefundId(String refundId) {
		this.refundId = refundId;
	}
	/**
	 * 获取：退款id
	 */
	public String getRefundId() {
		return refundId;
	}
	/**
	 * 设置：第三方交易支付单号
	 */
	public void setOutTradeNo(String outTradeNo) {
		this.outTradeNo = outTradeNo;
	}
	/**
	 * 获取：第三方交易支付单号
	 */
	public String getOutTradeNo() {
		return outTradeNo;
	}
	/**
	 * 设置：支付渠道:原生-OR-NATIVE，银盛-YS-YINSHENG，自己平台-SELF-PLATFORM
	 */
	public void setPayChannel(String payChannel) {
		this.payChannel = payChannel;
	}
	/**
	 * 获取：支付渠道:原生-OR-NATIVE，银盛-YS-YINSHENG，自己平台-SELF-PLATFORM
	 */
	public String getPayChannel() {
		return payChannel;
	}
	/**
	 * 设置：分账总金额
	 */
	public void setRefundAmount(BigDecimal refundAmount) {
		this.refundAmount = refundAmount;
	}
	/**
	 * 获取：分账总金额
	 */
	public BigDecimal getRefundAmount() {
		return refundAmount;
	}
	/**
	 * 设置：分账规则
	 */
	public void setRefundRule(String refundRule) {
		this.refundRule = refundRule;
	}
	/**
	 * 获取：分账规则
	 */
	public String getRefundRule() {
		return refundRule;
	}
	/**
	 * 设置：退款原因最多五十个汉字
	 */
	public void setRefundReason(String refundReason) {
		this.refundReason = refundReason;
	}
	/**
	 * 获取：退款原因最多五十个汉字
	 */
	public String getRefundReason() {
		return refundReason;
	}
	/**
	 * 设置：退款状态:退款成功-SUC-0,退款失败-FALL-1
	 */
	public void setStatus(String status) {
		this.status = status;
	}
	/**
	 * 获取：退款状态:退款成功-SUC-0,退款失败-FALL-1
	 */
	public String getStatus() {
		return status;
	}
	/**
	 * 设置：删除标记:未删除-UNDEL-1,删除-DEL-0
	 */
	public void setIsDelete(String isDelete) {
		this.isDelete = isDelete;
	}
	/**
	 * 获取：删除标记:未删除-UNDEL-1,删除-DEL-0
	 */
	public String getIsDelete() {
		return isDelete;
	}
	/**
	 * 设置：创建时间
	 */
	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}
	/**
	 * 获取：创建时间
	 */
	public Date getGmtCreate() {
		return gmtCreate;
	}
	/**
	 * 设置：更新时间
	 */
	public void setGmtModified(Date gmtModified) {
		this.gmtModified = gmtModified;
	}
	/**
	 * 获取：更新时间
	 */
	public Date getGmtModified() {
		return gmtModified;
	}

    @Override
    public String toString() {
        return "SettleRefundDO{" +
									                    "refundId=" + refundId +
					                										",outTradeNo=" + outTradeNo +
					                										",payChannel=" + payChannel +
					                										",refundAmount=" + refundAmount +
					                										",refundRule=" + refundRule +
					                										",refundReason=" + refundReason +
					                										",status=" + status +
					                										",isDelete=" + isDelete +
					                										",gmtCreate=" + gmtCreate +
					                										",gmtModified=" + gmtModified +
					                				"}";
    }
}
